package com.ccsoft.atools.service;


import com.ccsoft.atools.model.SysRolep;

import java.util.List;

public interface SysRolepService {
    int deleteByPrimaryKey(Integer iid);

    SysRolep insert(SysRolep record);

    SysRolep insertSelective(SysRolep record);

    SysRolep selectByPrimaryKey(Integer iid);

    SysRolep updateByPrimaryKeySelective(SysRolep record);

    SysRolep updateByPrimaryKey(SysRolep record);

    List<SysRolep> selectAll();

    List<SysRolep> selectByRoleIid(int role_iid);
    List<SysRolep> getAllPermissions();
    int saveBatch(List<SysRolep> records);
}